﻿

using Microsoft.EntityFrameworkCore;

using System;

using System.Linq;

using Xc.DataAccess.DataBases.Core.Models;

namespace Xc.DataAccess.DataBase.DeviceInfos.Models
{
    public interface IDbDeviceInfo : IDbModelBuilder<DbDeviceInfoBuilder>
    {
        /// <summary>
        /// 设备信息
        /// </summary>
        public DbSet<DeviceInfo> DeviceInfos { get; set; }
        /// <summary>
        /// 属性信息
        /// </summary>
        public DbSet<PropertyInfo> PropertyInfos { get; set; }
        /// <summary>
        /// 属性历史信息
        /// </summary>
        public DbSet<PropertyInfoHistory> PropertyInfoHistorys { get; set; }
        /// <summary>
        /// 报警信息
        /// </summary>
        public DbSet<AlarmInfo> AlarmInfos { get; set; }
        /// <summary>
        /// 报警信息历史
        /// </summary>
        public DbSet<AlarmInfoHistory> AlarmInfoHistorys { get; set; }
        /// <summary>
        /// 命令信息
        /// </summary>
        public DbSet<CommandInfo> CommandInfos { get; set; }
    }
}
